import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/*
 * @author zzr
 * @date: 2025/05/10  16:12
 * @description:
 */
public class Demo11 {
    public static void main(String[] args) {
        ExecutorService executorService = Executors.newFixedThreadPool(4);
        executorService.submit(new Runnable() {
            @Override
            public void run() {
                System.out.println("hello");
            }
        });
        executorService.submit(new Runnable() {
            @Override
            public void run() {
                System.out.println("hello");
            }
        });
        executorService.submit(new Runnable() {
            @Override
            public void run() {
                System.out.println("hello");
            }
        });
    }
}
